import { Middleware } from 'redux';

export const actionLog: Middleware = (store) => (next) => (action) => {
  // console.log('当前state1', store.getState());
  // console.log('fire action', action);
  next(action);
  // console.log('更新state2', store.getState());
};
